package io;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

/**
 * @author krystal
 * @date 2022/11/27 9:35
 */
//使用字符流来写文件
public class Demo9 {
    public static void main(String[] args) throws IOException {
        Writer writer=new FileWriter("./bbb.txt");
        writer.write(97);
        writer.close();
    }
}
